<?php
class FormChangepwd extends CFormModel{
	
		
	public $password;
	public $conpassword;
		
	public function rules()
	{
		return array(
			array('password,conpassword','required'),
			array('conpassword', 'compare', 'compareAttribute'=>'password'),
		);
	}
	
	
}